public class two {
    private String phone;
    private int use;
    private int price;
    private String color;

    void setPhone(String phone1) {
        phone = phone1;
    }

    String getPhone() {
        return phone;
    }

    void setUse(int use1) {
        use = use1;
    }

    int getUse() {
        return use;
    }

    void age() {
        System.out.println(phone + "使用了6年");
    }

    void gongneng() {
        System.out.println(phone + "能用来砸核桃");
    }

    void save() {
        System.out.println(phone + "有126G内存");
    }

    void setPrice(int price1) {
        price = price1;
    }
    int getPrice() {
        return price;
    }
    void setColor(String color1) {
        color = color1;
    }
    String getColor() {
        return color;
    }


}
